import Mock from 'mockjs'

const courseReminder = Mock.mock([
    {
        subject: '物理',
        courseid:'0',
        date: '2023-07-11',
        time: '17:00-18:00'
    },
    {
        subject: '化学',
        courseid:'1',
        date: '2023-07-13',
        time: '11:00-12:30'
    },
    {
        subject: '数学',
        courseid:'2',
        date: '2023-07-17',
        time: '12:00-17:30'
    },
])

Mock.mock('/getcoursereminder', 'get', () => {
    // console.log(courseReminder  );
    // console.log('有人请求了这个接口, 我返回了一个data')
    return courseReminder
})


